package com.jnevision.userdept.service;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jnevision.userdept.mapper.UserDeptMapper;
import com.jnevision.userdept.model.UserDept;

/**
 * <p>
 * 用户部门 服务实现类
 * </p>
 *
 * @author gavin
 * @since 2019-07-13
 */
@Service
public class UserDeptServiceImpl extends ServiceImpl<UserDeptMapper, UserDept> {
    public String getCurrentDeptLeader(int deptId) {
        return this.baseMapper.getCurrentDeptLeader(deptId);
    }
}
